methods to get cookie added