added polymorphic vote with validations to posts and comments