Add PUT method to user details endpoint