added support for reading secondary/slave mongo databases