add mongo communication