updating model for template slots
adding rest end points to get curated page and published pages