fixed login error messages