# 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.

![](https://1747244357-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MN83_a4SxUzhnC6dsXE%2F-MNo_5fIIr5QO4iSlipn%2F-MNoaQPtcGcDL9DVDshp%2Fimage.png?alt=media\&token=0d3d8641-c0f1-4306-9e94-f2a43abd60aa)

## 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;

![](https://1747244357-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MN83_a4SxUzhnC6dsXE%2F-MNo_5fIIr5QO4iSlipn%2F-MNod0yql_w0Hz2jCs5-%2Fimage.png?alt=media\&token=88c40b7a-07dc-4673-a7bd-68ea366c255b)

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.

![](https://1747244357-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MN83_a4SxUzhnC6dsXE%2F-MNo_5fIIr5QO4iSlipn%2F-MNodnOq0EcY74LbADTo%2Fimage.png?alt=media\&token=a9ad2c63-f5d0-4e09-817f-d844885850b6)

## Logout

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

## Widget

![](https://1747244357-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MN83_a4SxUzhnC6dsXE%2F-MNo_5fIIr5QO4iSlipn%2F-MNobrZjKjts96wuYxTv%2Fimage.png?alt=media\&token=b2b03e1e-78d3-43b5-bf8c-2991d46dfad9)

## Content

![](https://1747244357-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MN83_a4SxUzhnC6dsXE%2F-MNo_5fIIr5QO4iSlipn%2F-MNoeVnAiz_S_nLF0xXR%2Fimage.png?alt=media\&token=1a8f785d-9277-44fa-83f5-b87d36d5fa3f)

* Heading
* Text
* Image

## Settings

![](https://1747244357-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MN83_a4SxUzhnC6dsXE%2F-MNo_5fIIr5QO4iSlipn%2F-MNoentub7aqaNHXiOx5%2Fimage.png?alt=media\&token=0c7a794a-66ef-4a16-8157-0fcae0a86569)

* Background Color
* Text Color
* Redirect Url
