updating firebase script
adding firebase player state storage