optimized usage of firebase for highscores