added puts statement to sessions controller to track errors