Changes to sessions controller