added navigation and pages