Adds mongo uri configuration