added config for mongo