add a post collection to save posts to mongodb
add data to post collection if posts is empty
replace static posts
remove autopublish and set up basic publication