Changed the nodeListener for session tracking