Fixed error messages in login