Changed the flash message & Fix Edit posts with method Private