Concept Flow - Session-based auth with express-session
Client sends login request
Server checks credentials
Create session and store user info
Send session cookie to client
Client sends requests with cookie
Server reads session from cookie
Allow access
This flow shows how a client logs in, the server creates a session, sends a cookie, and then uses that cookie to authenticate future requests.