basics to allow publishing of posts