# Mobile Profile & Logout

## What we added

The Flutter app now has a Profile page.

## Features

- Show logged-in user name
- Show email
- Show role
- Show van name
- Show van plate number
- Show app version
- Sign out button

## Logout Flow

Flutter sends:

POST /api/mobile/logout

With header:

Authorization: Bearer TOKEN

Laravel deletes the token from mobile_tokens table.

Flutter deletes the local token from secure storage.

User returns to LoginPage.

## Why this is important

Deleting the token from the phone only is not enough.

The secure way is:

1. Delete token from Laravel database
2. Delete token from Flutter storage
3. Return user to login screen
