set expiry for cookies