setting up page template