update method now added to UserController. Updating a user's photo now works