laravel 5.4 has a diffrent file structure, this tutorial should be updated..
Error I'm getting at 3.2 ** does not log out **
RedirectIfAuthenticated.php looks different form the one you have
I installed "laravelcollective/html": "^5.2" because I was getting an error
Class 'Illuminate\Html\HtmlServiceProvider::class' not found
also your code is cut off and very hard to follow.