public boolean banUser(String name){ //ban a user by name
        if (name.equalsIgnoreCase("admin")) return false; //can't ban the admin
        UserAccount user = users.get(name.toLowerCase()); if (user==null) return false;
        user.setIsBanned(true);
        disconnectUser(user);
        return true;
    }