#436 add option to force registration for imports

In addition some minor bugs got fixed preventing wrong variable access and possible leak of usernames + userids of bigger selections of users in import message.