Incorporated mongodb into new routes setup