authResult example fix