saving posts into mongo