updated the user api and some of the test scripts
Added more unit test
Merge pull request #9 from kianoshp/user-api

user-api