implemented vote.php