add edit user functionality