add session management for own event hooks