Implements user and event state distribution

Prefer single-quoted strings when you don't need string interpolation or special symbols.