validation of vote button implemented

fning