configure edit route for user