do not put anything on your cookies before baking! if you want to add colored sugar to the cookies, then after the cookies are baked and fully cooled, spread either royal icing or edible baking glue to the tops, then dip them in sugar.