added session phase listener