Revert "revised mongodb access phase"

This reverts commit 552cf89d84e0486e797cb214dd4d4c6b8745b8f0.