ChatClient.java addition