Add edit and update users functionality.