killswitch had bad logic for testing when we were still within ttl, go figure.
isAuthorized functions made public
updated example reference to killswitch.