# User management (web) - am I doing this right?

**URL:** <https://discourse.haskell.org/t/user-management-web-am-i-doing-this-right/1728>\
**Category:** Learn\
**Created:** [January 1, 2021, 2:07pm UTC](https://discourse.haskell.org/t/user-management-web-am-i-doing-this-right/1728 "2021-01-01T14:07:43Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![gilmi](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.haskell.org/gilmi/32/45_2.png) [@gilmi](https://discourse.haskell.org/u/gilmi)\
**Post date:** [January 1, 2021, 2:07pm UTC](https://discourse.haskell.org/t/user-management-web-am-i-doing-this-right/1728/1 "2021-01-01T14:07:43Z")

</div>

Hi! In my adventures exploring scotty and web programming I’m implementing a [small bulletin board website](https://gitlab.com/gilmi/bulletin-app) and an important part of it is user registration, authentication, authorization, session, etc.

I’ve since extracted the code I wrote for all of this into its own “library”, however, when I researched the subject and how to implement this kind of functionality I didn’t really find examples of how this is done in Haskell, and I wanted to make sure I’m not messing this up terribly somewhere.

If anyone could take a look and give some tips, security-wise/functionality-wise/other, I would really appreciate it! I have little experience with web programming and this would be really helpful!

The repository which contains the users functionality can be found here:

> **[gilmi / my-scotty-users · GitLab](https://gitlab.com/gilmi/my-scotty-users)**
>
> GitLab.com

Thanks in advance!
