user can vote on a post from the home page. user can vote only once per post