mongodb and routes