added config for mongo db connection