made mongo client static
made mongo client static