Fixing the issue of showing name after login