check for MONGODB_URL if USE_ENV or HEROKU is set