added mongodb auth