changed sessions controler