Connection to mongodb is in env