Better security by checking allowed before actual voting