changed sessions being nil