added mongodb user check