Fix bug that error message is not displaying when login failed.
Merge branch 'master' of https://github.com/prod-dev/sannong into intg
Merge pull request #1 from prod-dev/master

update code