how to get name of user with id authentication code example Example: laravel auth user_id $userId = Auth::id();