Added end to sessions controller