add the REST endpoint for the user model