Added posts to database