edit user and route handling