adding navigation and pages