Added the EventProvider
Updated the registration flow to use envent for post registration behaviour