Revert "Modifications to make connect-mongo use mongoose connection"

This reverts commit 329d104f6c25dcfd89d4e2430de5258bc1b61297.
Fix for connect-mongo