User auth server side code
Merge pull request #6 from xue0chao/master

User auth server side code