implemented PUT and DELETE on api/v1/users/{id}