finish registration