renamed AuthService to Adapter