What is the correct way to get the players names? (OnPostLogin)(Multiplayer)

I’m trying to get the name of the players when they logged in using this way. But it doesn’t work. It crashes.

So I think that this is not the correct way to do it.

How to do it correctly?
Thank you so much!!

it is enough to do this:

It was crashing because I forgot to assign this GameMode to the lobby map…