use local mongodb in online mode