Added vote and downvote methods in controller