added basic page handler