make login failure message more user-friendly