voting and refine authentication