fix session continueation on refresh