Finish login/logout
Merge pull request #4 from yenhtran/log-in-log-out

Finish login/logout