connected correct signal for goodbye