Added authentication to mongo connection