fixed so users cannot vote more than once