public function get_array_all()
 {
     if ($this->access > 1) {
         return apiDB::getUsers();
     } else {
         // only return the user that you have access to
         $users = array();
         $user = apiDB::getUserByEmail($_SERVER['PHP_AUTH_USER']);
         array_push($users, $user);
         return $users;
     }
 }