Added Bye functionality