# Signing In (/docs/login)

You can sign in to Tavern Cozy with an email, Google, or a passkey. All three work on web; the mobile app uses Google sign-in.

## Sign-in methods [#sign-in-methods]

### Email or username + password [#email-or-username--password]

On [the login page](https://taverncozy.com/login), switch to **Sign In** and enter either your **email** or your **username** plus your password.

A Cloudflare captcha is required before submitting - it keeps bots out. If it's missing, reload the page; an ad-blocker that blocks Cloudflare can also hide it.

### Google [#google]

Click **Continue with Google** and authorize. If your Google email already has an account, you're signed in to it; otherwise one is created for you.

### Passkey [#passkey]

Click **Continue with Passkey** and approve with your device's authenticator (Face ID, fingerprint, or a security key).

<Callout type="idea">
Passkeys need an existing account. Sign in with Google or email once, then add a passkey from your **Profile → Passkeys**.
</Callout>

## Creating an account [#creating-an-account]

On the login page, switch to **Sign Up** and fill in:

- **Email** - your login and password-reset address
- **Username** - 3–44 characters, must start with a letter, and can contain letters, numbers, and underscores. It's checked for availability as you type.
- **Display name** (optional) - what appears on your profile and creations
- **Password** - at least 8 characters, with at least one letter and one number

<Callout type="warn">
Usernames are public and can't easily be changed later - pick one you're happy with.
</Callout>

## When you're already signed in [#when-youre-already-signed-in]

Visiting `/login` while signed in shows a welcome screen instead of the form, with three actions: **Enter the tavern**, **Add another account**, and **Log out**.

### Multi-account support [#multi-account-support]

Tavern keeps multiple accounts signed in on the same browser so you can switch without logging out:

- **Add another account** - from the welcome screen or the user menu (**Add account**). Sign in with any method; it gets added alongside your current session.
- **Switch accounts** - click your avatar in the sidebar and pick another account under *Switch account*.
- **Maximum sessions** - the app allows up to 5 active sessions per device by default.

<Callout type="info">
When you add a second account, the app makes it the *active* account. Your previous one stays signed in - switch back anytime from the user menu.
</Callout>

## Logging out [#logging-out]

**Log out** is in the user menu (your avatar in the sidebar) and on the signed-in `/login` welcome screen. Logging out signs you out of the current account on this browser only.