made new funcalilatity spelling? for updating a user's name and added a message and redirect