added session delete code