Now with authentication checks.