Add MongoDB to API routes.