WIP on SecurityEvent
Refactored to remove dependency on mongoose schema validation