session controls encapsulated