CakeSession improvements