# Functions
AuthenticationRequired provides a middleware that checks if the user is logged in, returning a 401 error if not.
AuthMiddleware provides basic authentication capabilities to all routes underneath its usage, only allowing authenticated users access and set a custom local context `account` with the account model for the logged in user.