Adding data to the posts collection.