Added ability to create and edit posts