add session clearing