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