public static Client getClient(String username) {
        for (Client client : getConnections()) {
            if (client.getUsername().equalsIgnoreCase(username))
                return client;
        }
        return null;
    }