Added the ability to publish/unpublished posts.