@php // For internal project, just redirect to login if (!auth()->check()) { header('Location: ' . route('login')); exit; } else { header('Location: ' . route('home')); exit; } @endphp