fixed upvotes using cookies