$user['computername'] ?? '-', 'mac' => $user['mac'] ?? '-', 'status' => $user['status'] ?? '-', 'pid' => $user['pid'] ?? '-' ]; }, $response['items']); $_SESSION['userlist'] = $user_list; } else { $user_list = "No users found or invalid response format."; } ?>