add statemachine support
add site_session statemachine state