Opened a global mongodb connection to be used everywhere. Apparently, this is best practice...