BookStack/app/Http/Middleware
..
Authenticate.php
EncryptCookies.php
RedirectIfAuthenticated.php
VerifyCsrfToken.php