remove sessions legacy