Created and connected listeners for Client GUI