add environment variable for MongoDB connection