Fixed login flow and modifying mongo
Merge branch 'master' of https://github.com/lingtong-sun/The-Three-Amigos