minor changes to sessions controller