Added logging to authenticator