allowed page display

pages can now be generated and displayed