Modified sessions controller