public Client returnClient(String name){
        for (int i=0;i<clientList.size();i++){
            if (clientList.get(i).getName().equals(name)){
                return clientList.get(i);
            }
        }
        return null;
    }