useSession

The useSession hook reads session data in server components.