complete login manager
Merge pull request #8 from luxiaotong/master

complete login manager