Concept Flow - Login_required decorator
User requests protected page
Check if user is logged in
Allow access
Show page
Redirect back to page
This flow shows how the login_required decorator checks if a user is logged in before allowing access to a page, otherwise redirects to login.