Improved middleware documentation

- Added default middleware documentation details.
- Added details on how to reconfigure the default middleware.
- Added details on extending default middleware (such as session)