added session directory deletion