public void removeUser(User u){
        boolean exists = false;
        User existingUser = null;
        LinkedList<User> userCopy = new LinkedList<>();
        for(User usr : users){
            userCopy.add(usr);
        }
        for(User user : userCopy){
            if(user.getIP().getHostName().equals(u.getIP().getHostName())){
                exists = true;
                existingUser = user;
            }
        }
        if(!u.getIP().equals(this.group)){
            LOGGER.log(Level.INFO, "Removing user "+u.getName()+" from connected users.");
            if(exists){
                this.users.remove(existingUser);
                updateGUI();
            }
        }else{
            LOGGER.log(Level.INFO, "Someone tried to remove Educafe from users. Attempt blocked.");
        }
    }