Corrected registration bug in setup flow