creating random cookie