generate a link for each user (bug 1074518)

- [x] add in signing of state code when ready
This log looks the same as the one on line 26.