added mongoDb and am accessing it to get new posts that have been added to the database instead of relying on static data