Another attempt to connect to mongodb