validates vote only once