Improved error handling.
Set activation link to used.