{{ $user->name }} @if (request()->routeIs('user.settings'))
@endif

{{ userAuthInfo()->name }}