Added the ability to create and edit posts with flashes