connect to mongo
did some stuff