Implement generic online system
I think you shoud use entities to store players to better use bevy features. And also you should separate functionnalities instead of putting everything in the same function (handle_change_player)