fixed bug in message on login failed