Configuring mongo db