Implements user and event state distribution

Space inside } missing.