Created basic way to view pages after creating and editing them