added mongoose connect/disconnect