Revert "changing connection to Mongo"

This reverts commit a0ec9cebb06f6841aae971628bb8abf408728d87.