public void run(){
        try {
            while (true) {
                if ((fserver = in.readLine()) != null) {
                    if (fserver.equals("Server message: too many users")) {
                        System.exit(0);
                        break;
                    }
                    if (!validate && fserver.equals("OK")){
                        System.out.println("You are connected.");
                        validate = true;
                    } else {
                        System.out.println(fserver);
                    }
                }
            }
        }catch (Exception e){
            if (e.getMessage().equals("socket closed")){
                System.out.println("You are out of server");
            }else {
                e.printStackTrace();
            }
        }
    }