Authenticating user for all controller