Added vote method to post