update todo list when login, logout.
finish beta2.
Merge pull request #16 from liwenzhu/develop

Develop