implemented voting system (for posts, comments needs some final touches)