Assigning routes after before_request so any new routes will be propagated