Refactor user controller update
Merge origin
Verify when updating a user if its sessions should be destroyed