cleanup: remove unused var
set the confirmationDate when importing users
show error if link type is not found (instead of failing with NullPointerException)