Refactored cookie methods from WorldController to CookieController