setup to connect to mongo uri