User Flow Mickael Rutembya · Flow Atlas

Owner Login

/owner/login/

Authenticated owner accesses the sovereign workspace. Staff-only route with login form, session validation, and redirect to dashboard.

Flow intent

What the user is trying to do

« Authenticate as staff to access the owner workspace and manage pricing, leads, and contracts. »

Entry points

ElementDestination
Direct navigation /owner/login//owner/login/
Owner dashboard when not authenticated/owner/login/

Flow

Adjacent routes — click a node to open it.userflow
flowchart LR A["Visitor navigates to /owner/login/"] --> B["Land on login form"] B --> C["Enter credentials"] C --> D{"Valid credentials?"} D -->|Yes| E["Session created"] E --> F["Redirect to /owner/"] F --> G["Owner dashboard loaded"] D -->|No| H["Error message shown"] H --> C G --> I["Access leads, contracts, quotes"] I --> J["Logout via form"] J --> K["Session destroyed"] K --> L["Redirect to home"] click B "http://localhost:8000/owner/login/" "Open Login" click F "http://localhost:8000/owner/" "Open Dashboard"

Screens

ScreenKey contentCTA
Login formUsername, password fields, CSRF tokenSign in
Owner dashboardActive profile, stats, admin links, security controlsLeads, Contracts, Quotes, Logout

Scenario

Scenario

Owner accesses workspace to review leads

Trigger

  • Owner receives notification of new qualification lead
  • Navigates directly to /owner/login/
  • Enters staff credentials

Experience

  1. Login form loads with no pre-filled data.
  2. Owner enters credentials and submits.
  3. Server validates session, redirects to /owner/.
  4. Dashboard loads with active profile and leads radar.
  5. Owner clicks "Radar de qualification client" to review leads.

Trust and safety rules

  • Login route is staff-only — not indexed by search engines.
  • CSRF protection is enforced on all POST requests.
  • Session is signed and protected against tampering.
  • Failed login attempts do not reveal whether username exists.
  • Logout destroys the session completely.

Interaction notes

  • Form uses Django's CSRF token.
  • POST to /owner/login/ with username and password.
  • Redirect to /owner/ on success.
  • Logout form POSTs to /owner/logout/.

Result states

StateWhat the visitor seesWhat happens next
UnauthenticatedLogin form with no pre-filled dataEnter credentials to proceed
AuthenticatedOwner dashboard with full admin accessCan access leads, contracts, quotes, settings
Failed loginGeneric error messageRetry or contact administrator
Logged outRedirected to home pageSession destroyed, must re-authenticate