Implementation of authenticator