Revert "Adding changes for mongo session scope"

This reverts commit 5fefae218b5ce4ec5df7694d3bd7cbd59a4c79d8.