added crtl-d and logout msg.