Complete login and logout
Merge branch 'master' of https://github.com/hujunyi/todolist