session expiry fix