pub async fn has_auth_user_session( session: &Session, pool: Data<PgPool>, ) -> bool
Checks if the user is authenticated in the given session.