removed old cookie code