Fix login error messages
Merge pull request #34 from LocalData/errorfix

Fix login error message display