Modifications to make connect-mongo use mongoose connection