login auth logic
Merge pull request #15 from kitemao/master

login auth logic