Cannot Controle the pawn

I can’t control the pawn after i spawn it, this is what i had done

I create a widget to have login button and quit game button

When i press login button, it will call a custom function(run on server, reliable)

Custom function will spawn an actor and possess the actor.

I saw many people doing this, and they work, but i have no idea what i miss out so far.