Added cookie fallback