Help with Photon: Need Help or Suggestions

Hi,
I am using PUN Viking Demo as my base of coding. What I would like to do is implement a login screen based of reading a .txt or MySQL/similar database and making you “become” that username. My question is, if you look at the hierarchy you can see that it creates a object that is the player called “Charprefab(Clone)1001” without quotes. How would I go about changing this to be the username that they input in the login field? I need this because I need to be able to apply debuffs/spell/objects/other things on a per player basis. Thanks.

gameobject.name = usernamefeild;

something along those lines.