added authentication to mongo