created menu and pages