adapted RegisterUser to POST /users