updated sample code for the users' RESTful API