Stores posts in the DB