added pages and set routes