Added some simple event methods to ensure that the menu is updated as projects are created.
Cleaned a hanging next-statement.
Added an end-point to create and fetch user info.
Added delete-method for the users.
Simplified render function.
Added basic auth support.

- All data end-points enforce basic-auth.
Began populating the `/user` end-point with methods.
Refactored auth-stuff

- Added a middleware namespace for the auth-stuff.
- Moved auth-stuff into the specific routes.
- Laid the foundation for cookie-based auth.
Added cookie-based login at `/login`.

The cookie can be used to log in everywhere afterwards.
Ensured that invalid login is handled correcly.
Added some more tests for login functionality.
Added a login view.

- The code automatically logs in while the session is running.
- A default super user is added to the system.
Added support for users.

- End-points now require login.