fix problems in session control and helper
Merge pull request #25 from COSI236TA/session_bug

fix problems in session control and helper