added SetSession and ClearSession