But it only works when user logged in otherwise shows errors. Even I've used ELOQUENT in controller and have passed $user object with by view. I'm attaching images so that you can understand my problem. This is my PagesController file And this is my welcome.blade.php file
via S M Iftakhairul