Connection to mongodb through mongoose works