Added ability to edit posts