updated model to distinguish a post from a page for later filtering