public void refreshUserList() {
        try {
            System.out.println("userlist refresh request");
            out.writeUTF("%refreshUserList%");
            out.flush();
            System.out.println("command for refresh sent");
        } catch (IOException ex) {
            Logger.getLogger(ClientLogic.class.getName()).log(Level.SEVERE, null, ex);
        }
    }