implemented AuthenticationService