fix bug: the user name doesn't display corretly after signed in