Register routes after connect