Hello, im trying to redirect not authenticated user to login page. But it does not redirect me My code: ```tsx "use client"; import { authClient } from "@/lib/auth-client" import { useRouter } from "next/navigation"; export default function DashboardPage() { const { data: session } =authClient.getSession(); const router = useRouter(); if (!session) { router.push("/sign-in"); } return ( <div> <h1>Dashboard</h1> </div> ); }``` Where did i do it wrong ?