Add logging for cookies