I realized I am using 2 ways to prevent people who are not logged from seeing stuff that are meant for members only. The first one is using @if(Auth::user()) and the second one is using @auth. For example:
@auth
<button class="submit-btn like liked" id='{{ $image->id }}'>
@endauth
And
@if(Auth::user())
<button class="submit-btn like liked" id='{{ $image->id }}'>
@endif
Is there any difference between those 2 examples or should I just stick to one of them?