Use the composable useUserId to get the id of the user.
const userId = useUserId()