logging authentication process