Finishing Cookie Implementation