Implements user and event state distribution

Use 2 spaces for indentation in a hash, relative to the start of the line where the left curly brace is.