decorator that controls the authentication
decorator that makes easier to controls the authentication