Enable login and logout
Merge pull request #7 from linzongshu/develop

Enable login and logout