fixed sesson timeout bug fixes #11