checks for root access in mongodb