fixed errors for login and friends
Merge branch 'master' of https://github.com/js3611/WebApp