updating listUsers to use private function names