added edit user functionality