Username gets corretly set upon onConnect