Fix bug display avatar after login