This authentication application foundation is the Sahat hackathon starter. I expanded features with permissions and roles through a RESTful API. Thus, the application can run headless or run with a GUI.