Implement put endpoint for users.