Concept Flow - Creating middleware
Request comes in
Middleware runs
Middleware can modify request/response
Call next() to continue
Controller handles request
Response sent back
Middleware runs when a request arrives, can change request or response, then passes control to the next step.