fix router
routing and setup pages