public boolean addUserToConv(String user, int conv)  {
         ProxyClient pc= null;
         try {
            pc= this.getClient(user);
        } catch (RemoteException ex) {
            //Logger.getLogger(MensajeImpl.class.getName()).log(Level.SEVERE, null, ex);
            return false;
        }
        
         if (pc == null) {
             return false;
         }
         
        try {
            // This will load the MySQL driver, each DB has its own driver
            Class.forName("com.mysql.jdbc.Driver");
            // Setup the connection with the DB
            connect = DriverManager
                    .getConnection("jdbc:mysql://localhost:8889/so2?"
                    + "user=root&password=root");

            System.out.println("CONECTADO!");
            
            // Statements allow to issue SQL queries to the database
            statement = connect.createStatement();
            // Result set get the result of the SQL query
            String query = "INSERT INTO so2.usuarioperteneceaconversacion (idusuario, idconversacion) VALUES ('" + pc.id   + " ', '" + conv   + "')";
            
            System.out.println(query);
            preparedStatement = connect.prepareStatement(query);
            

            preparedStatement.executeUpdate();
            
                    
                  

        } catch (Exception e) {
            try {
                throw e;
            } catch (Exception ex) {
                Logger.getLogger(MensajeImpl.class.getName()).log(Level.SEVERE, null, ex);
            }
        } finally {
            close();
        }
        
        int userinarray = 0;
        for (int i = 0; i < clienteLista.size(); i++) {
             try {
                 if (( (ProxyClient)(this.getClient( ((MensajeCB) clienteLista.get(i)).getName() ))).id  == pc.id ) {
                        System.out.println("user is = " + i);
                        userinarray = i;
                   }
             } catch (RemoteException ex) {
                 Logger.getLogger(MensajeImpl.class.getName()).log(Level.SEVERE, null, ex);
             }
         }
        try {
            ((MensajeCB) clienteLista.get(userinarray)).makehimrefresh();
        } catch (RemoteException ex) {
            Logger.getLogger(MensajeImpl.class.getName()).log(Level.SEVERE, null, ex);
        }
             
         
        
        
        try {
            ((MensajeCB)this.clienteLista.get(0)).makehimrefresh();
        } catch (RemoteException ex) {
            Logger.getLogger(MensajeImpl.class.getName()).log(Level.SEVERE, null, ex);
        }
        
        
        return true;
     }