changed vote route to post for ec2