Implement edit user functionality