Revert "mongo connection"

This reverts commit 8854c25499479017b9c8fe97bf44872991321438.