state machine skeleton of session profile