Add leaderboard query to handler