Fixing PHP Warning on unsert token on register

Addresses #330 and cleans up PHP Log