[Fix #4] Add leaderboard logic