notification in the connect and disconnect