Changed the auth method