# Add a user menu with login and logout links

> Add a User Menu that shows Login and Sign Up to visitors and the user's name, profile and logout links to logged-in users.

Source: https://tadabase.com/docs/pages/user-menu  
Status: Verified Nov 17, 2026. Checked against the current product

The **User Menu** component gives people one place to log in and out. Visitors who are not logged in see **Login**; logged-in users see their name, with **Profile** and **Logout** links under it. Add it to a [layout](https://tadabase.com/docs/pages/layouts), usually next to your main [menu](https://tadabase.com/docs/pages/menu).

## Add a user menu

1. **Open the layout or page** In the **Page Builder**, open the layout (or page) where the user menu should appear. Its **Content** tab opens.
2. **Pick a spot** In an empty column, click **Add Component**, or drag the component from the left panel into a column.
3. **Choose User Menu** On the **Components** tab of the left panel, under **System Components**, click **User Menu**. Its settings window opens on the **Options** tab.
4. **Set the options** Choose which links to show (see the table below).
5. **Set the logout rules** Open the **Logout Redirect Rules** tab to choose where people go after they log out.
6. **Save** Click **Update & Save**.

![The User Menu settings window on the Options tab, showing Show Registration Link, Show Profile Link and Show User Image](https://tadabase.com/docs-shots/pages-user-menu-settings.webp)

## What people see

| Who | The menu shows | Under it |
| --- | --- | --- |
| Not logged in | **Login** | **Login**, which opens your login page, and **Sign Up**, which opens your sign-up page |
| Logged in | The user's name, with their picture when **Show User Image** is on | **Profile**, which opens your profile page, and **Logout** |

To change those pages, see [Login](https://tadabase.com/docs/pages/login), [Signup](https://tadabase.com/docs/pages/signup) and [Profile](https://tadabase.com/docs/pages/profile).

## Options

| Option | What it does | Default |
| --- | --- | --- |
| **Show Registration Link** | Shows the **Login** and **Sign Up** links under **Login** for people who are not logged in. | **Yes** |
| **Show Profile Link** | Shows the **Profile** link to logged-in users. | **Yes** |
| **Show User Image** | Shows the user's picture next to their name. | **Yes** |
| **User Image Field** | The field of your Users table that holds the picture. Shown when **Show User Image** is **Yes**. | The first field the list offers |

> **Note:** Keep **Show Registration Link** on **Yes** if visitors log in from this menu: the Login and Sign Up links both sit in that drop-down. If you do not want a sign-up link, use a [Menu](https://tadabase.com/docs/pages/menu) with a **User** item set to **Login** instead.

## Logout redirect rules

A new user menu starts with one rule: **All Users** go to your login page after they log out. Add rules to send each role somewhere else.

1. **Open the tab** In the user menu's settings window, open **Logout Redirect Rules**.
2. **Add a rule** Click **Add New Redirect Rule**.
3. **Choose the role** In **If Role is**, choose a role, or **All Users**.
4. **Choose the page** In **Then redirect to**, choose a page, or **App Home Page**.

When a user logs out, a rule for one of their roles wins over the **All Users** rule. If no rule matches, they go to the login page. Click **Remove** to delete a rule. See [User roles](https://tadabase.com/docs/users-security/roles).

## Change or remove a user menu

Click the user menu in the Page Builder to open its settings again. To remove it, click **Delete** at the bottom left of the settings window.
