added class for the connectionGUI listener