private void whileChatting() throws IOException {
		do {
			try {
				message = (String) input.readObject();
				TCPmessage(message, 2, true);
			}catch(ClassNotFoundException classNotFoundException){
				TCPmessage("Unable to read message", 3, false);
			}
		}while(!message.equals("SERVER: END"));
	}