save posts with title and id