slight change to sessions controller