added the auth sequence to samples