generate confirmation token for registration