validate presence of content when creating posts