when editing a user it doesn't log back in after committing changes