AuthService prototype