# User Groups

This section of the **Users tab** lists all the [User Groups](https://softr.gitbook.io/softr-documentation/memberships/users-tab/user-groups) that exist in your Softr app (including the default "Logged-in Users,"  "All Users," and "Non-Logged-in Users" groups), so that you can set a **Page after signup/signin** and a **Page after signout** for each user group, thus redirecting your users to your preferred page.

<figure><img src="https://3426011356-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M0NiyhsmXAcV5u1c6XK%2Fuploads%2FhZVEoIK2eGsP7Jt4bCGJ%2Fuser-groups.png?alt=media&#x26;token=3e24beb5-1269-4069-94e2-e070602c9b1f" alt=""><figcaption><p>User Groups section</p></figcaption></figure>

{% hint style="warning" %}
Some blocks (e.g. [Signin Form](https://softr.gitbook.io/softr-documentation/user-accounts-blocks/sign-in-form#on-signin)) have their own redirect settings. In the cases when a page redirect is applied both from the block and the User Groups list, the latter is given a priority and overrides the redirect rule set from the individual block settings.
{% endhint %}

There's also a **Page** **visibility** column that indicates the number of pages in your Softr app that are visible to the given user group.&#x20;

Lastly, we have an **Add user group** button in the top right corner, which is basically the same button we had in the [users base](https://softr.gitbook.io/softr-documentation/memberships/users-tab/users) and used to [add new users](https://softr.gitbook.io/softr-documentation/memberships/users-tab/users/adding-users).

So, let's set this up for a specific user group to see how it works.

### Setting a page for signup and signout and testing

We have created a user group named "Softr Employees," which includes all the users whose email domains are **softr.io**.

<figure><img src="https://3426011356-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M0NiyhsmXAcV5u1c6XK%2Fuploads%2FHZSm1nGkw70sUVts764y%2Fsoftr-employees.png?alt=media&#x26;token=4b3155cd-edae-45db-b22a-0682bf5f2c26" alt=""><figcaption><p>Softr Employees user group</p></figcaption></figure>

As the following screenshot shows, we've set our **FAQ** page as the **Page after signin/signup** and the **Map** page as the **Page after signout.**&#x20;

<figure><img src="https://3426011356-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M0NiyhsmXAcV5u1c6XK%2Fuploads%2FloWNmfHzOYLDDow0feyC%2Femployees-highlight.png?alt=media&#x26;token=5a9973bc-e7db-458d-bf06-418dd2df36ed" alt=""><figcaption><p>Softr employees user group in the list</p></figcaption></figure>

So, let's sign up with a user that satisfies the Softr Employees user group condition and check where we are taken on signup and signout.

<figure><img src="https://3426011356-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M0NiyhsmXAcV5u1c6XK%2Fuploads%2FRJEnD8VDBs6aOYFiPSPv%2FScreen%20Recording%202022-10-05%20at%2019.35.11.gif?alt=media&#x26;token=69bc760f-186e-4a4d-b391-868321a88b53" alt=""><figcaption><p>Testing the functionality</p></figcaption></figure>

As you can see, we are directed to the FAQ page after we signup, and on signout we're taken to the Map page as expected.

### Which signin/signup options are supported

As of now, the user group redirects are applied to all the [signin/signup options](https://softr.gitbook.io/softr-documentation/memberships/signup-options) **apart from the following ones:**

* [SAML Single Sign-On](https://softr.gitbook.io/softr-documentation/memberships/user-accounts-blocks/saml-single-sign-on)
* [OpenID](https://softr.gitbook.io/softr-documentation/memberships/user-accounts-blocks/openid-single-sign-on)
