generate a link for each user (bug 1074518)

- [x] add in signing of state code when ready
according to the settings file it won't so meh