public void sendGlobalMessage (String sender, String message) {
        for (Map.Entry<String, Socket> user : activeSockets.entrySet()) {
            if (user.getKey() != sender) {
                Socket socket = user.getValue();
                try {
                    PrintWriter out = new PrintWriter(socket.getOutputStream(), true);
                    out.println("*** " + sender + " " + message);
                } catch (IOException e) {
                    
                }
            }
        }
    }