i have a repo that uses it as a boilerplate https://github.com/profullstack/hynt-web -- take a look how I do authentication