OnPostLogin passes as an input the controller of the newly created player so do not use GetPlayerPawn 0 but the incoming controller of the newly logged in user.