Finished registration code