Use useAuthenticated to get the authentication status of the user.
useAuthenticated
const isAuthenticated = useAuthenticated()