Added authentication notification code.