Client Side State Diagrams