added routes and pages