# Login

## Create a member group

To get started with login you first need to create a member group. Go to the Member section of Umbraco and right click on Member Groups and then Create a new one.

![](/files/-MNoaQPtcGcDL9DVDshp)

## Create a new page for Login

Create a new page and add the login widget. You can also set a redirect url where the user will be sent after a successful login.

## Set up your locked pages

Right click on the page or pages you want to hide from users that are not logged in. Right click on a page and select **Public access.**&#x20;

![](/files/-MNod0yql_w0Hz2jCs5-)

You can choose to lock the page for a specific member or a member group. Point to the login page so that users get redirected here if they try to access the page without being logged in.

![](/files/-MNodnOq0EcY74LbADTo)

## Logout

To logout simply create a link that goes here: `/member/logout`

## Widget

![](/files/-MNobrZjKjts96wuYxTv)

## Content

![](/files/-MNoeVnAiz_S_nLF0xXR)

* Heading
* Text
* Image

## Settings

![](/files/-MNoentub7aqaNHXiOx5)

* Background Color
* Text Color
* Redirect Url


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.iglootheme.com/widgets/login.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
