log any errors during login process also