Added ability to edit and update users