added cookie for storing votes