Added session state to the accordion control