Added validation on the voting process to only allow one vote for each post/comment by each user.