added voting system and new ranking algorithm for posts