Added the secret variable
No need for the variable
Using the path library for joining the views path
Fix a variable misuse
Added the router to the middleware
Improved the Error Handler in development
Improved readability in development mode
Added the csrf function
Moved the csrf middleware above the route one
Making the csrf filter working