code example of leaderboard using firebse