adding notify about session end