validate vote