(edit) checking for auth token on every state change is now working