added thismoment voting functions and a cookie