action to setup routers