Added the ability to edit posts