added voting to posts and comments