add sample to show other external registration flow