make accessors for cookies