final InitiateRegistration registration = new InitiateRegistration();
registration.setAuthResourceName(authSource.getResourceName());
registration.setEmailAddress(emailAddress);
registration.setDisptachListener(new IDispatchListener() {
@Override
public void onDispatch() {
BlockUi.blockAllWithMessage("Registering...");
}