added HSIsAuthed to examples