Chenged the nodeListener for session tracking