added validations to vote and place