connect to remote db on mongodb