version 1.0.0 - session class fix - check the session availability before deleting