add sample of "register activity"