Handler to add a page