# User Identification

### Identify user

Associate the current session with a user (email, name, and optional ID). Use this after login or when you have user info:

{% code title="Kotlin" %}

```kotlin
LuciqKmp.identifyUser(
    email = "user@example.com",
    name = "Jane Doe",
    id = "user_123"  // optional
)
```

{% endcode %}

Reports, crashes, and session replays will be tied to this identity in the dashboard.

### Log out

When the user logs out of your app, clear their identity and data:

{% code title="Kotlin" %}

```kotlin
LuciqKmp.logOut()
```

{% endcode %}

Call this so the next user is not associated with the previous one.
