Laravel framework- Why aren\'t I able to use Auth::user(), (to see if user has been logged in) in the controller of the laravel project. Is the Session not connected to the cont
The problem is that you haven't included the Auth facade.
In your HomeController.php do:
use Illuminate\Support\Facades\Auth;