first connection to mongodb