added getVoteStatus method and integrated with vote case class
fixed the vote buttons