Update index.js

Mongoose connection exports modified