We can't log events if the user is not authenticated.