sets up messageLeaderboard function