Celestial hint

I keep getting “invalid username type” error. Having trouble adding the username to the code. Can someone please help me with this?