added page and tempalte model