Spring security token based mechanism by Philip W. Sorst intergrated.

Now request - users/authenticate first - userid/pwd in
ApplicationSecurity.xml

Copy token value in X-Auth-Token header for all subsequent requests.

api/v01/users/{userid} Gets the user object
api/v01/users [POST] Creates user object in mongodb

Following is sample json for user object

{"userId":"Ali","emailAddress":"xx.xxx@gmail.com","firstName":"Ali","lastName":"Iqbal","registrationDate":"2014-03-27","active":true,"age":30,"sex":"Male","country":"Pakistan"}