Update RegistrationCoordinator.swift

such things can be written more elegant.