update session management
Merge pull request #33 from hirata-motoi/feature/remake_session

update session management