This is the index.js page to a project built from the with-firebase-authentication example (Next.js)
const Index = () => { const { user, logout } = useUser()