Cookie management methods added