Avoided use of cookies with authenticated users

It led to database errors (duplicate key when voting)
Also added reusable cookie name and content generators