Added login logic.
Merge branch 'master' of github.com:nh2/wordwang