updated for publish with the private post capability