added page_template field to database, populate template with its content