add signup and signin function
Merge pull request #2 from s5248/master

huang