This example creates an authentication system that uses a signed and encrypted cookie to store session data. It uses current best practices as for authentication in the Next.js ecosystem, we use `useUser` custom hook together with `swr` for data fetching.
- Firebase Authentication with Email Passwordless Link is used to authenticate users.
- Session data is signed and encrypted in a cookie.