deleted session helper

Fixes #26