added flash sessions to notify if changes, posts and deletes were successful