---
description: To Ban user in twilio chat.
---

# Happy Hours Admin

## Get access

### Add admin users.

{% hint style="info" %}
### We must add the first user manually into the db
{% endhint %}

Then, the logged user can add other user directly from this link  \{{host\}}/register or from the admin page, once you are already logged.

![Link to add new user](https://2628351299-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-Lp-GGFDRT053dVKtILV%2F-M7sII3uX-gX1GJ2bVmF%2F-M7sJnd3P9qDUImiy1l9%2Fimage.png?alt=media\&token=d1a627a4-51e9-422e-92cc-e4f9b61065dc)

![Register new users](https://2628351299-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-Lp-GGFDRT053dVKtILV%2F-M7sII3uX-gX1GJ2bVmF%2F-M7sK7zUoZy33YX6KpRb%2Fimage.png?alt=media\&token=cf7ece0b-db94-44af-8fd0-0a447076cac6)

### Ban Users

![Ban user](https://2628351299-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-Lp-GGFDRT053dVKtILV%2F-M7sSk8BOG1vjAvN3FrN%2F-M7swvqkcE3nB3cFi-Nt%2Fimage.png?alt=media\&token=425e431f-888c-46ce-b0f5-ee49c4d58027)

We need to select one or more users, then click over the Banned button. The user will be marked as banned in the db and also will be deleted in  twilio.

### Delete user

Will be similar to the banner process, with the difference that we hit the Delete button and the user will be deleted also from the db. After deleted the user shouldn't appear on this list anymore.

### Logout

![Logout](https://2628351299-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-Lp-GGFDRT053dVKtILV%2F-M7sSk8BOG1vjAvN3FrN%2F-M7syDB6ooTlJSmpJ97m%2Fimage.png?alt=media\&token=1d3f2c1a-6fd5-4f40-8d1d-e28fbc56e15f)

We just need to click over the logout link on the top right. The logged user will be reset and the page will be redirected to the login page.

