specifying MongoDB's host address and db user/passowrd in the config file &
use config.get() instead of config['xxx']