add cookie refresh