fixed login error messages
minor fixes