Fixed user not displayed correctly right after the login.