SecurityEventListener working