login error handling messages fix