added title and date to the db