[FIX] place setup routes logic before web app logic