public String[] getUserNames() {
    	
        ArrayList < Client > tclients = new ArrayList < Client > ();
        tclients.addAll(clients);
        for (int i = 0; i < channels.size(); i++) {
            ArrayList < Client > clients = channels.get(i).getUsers();
            for (Client c: clients) {
                if (!(tclients.contains(c))) {
                    tclients.add(c);
                }
            }
        }
        String[] returnme = new String[tclients.size()];
        for(int i = 0 ; i < tclients.size(); i ++){
        	returnme[i] = tclients.get(i).getName();
        }
        
        return returnme;

    }