implement notification feature for security events based on SSE