application controller modification
updated vote model to be polymorphic