Set null to authenticatedUser for anonymous users