edit sessions controller