add vote up and down UI to resources
change data voteable type to object class name instead