handle token request errors
refactor array validation error cascade
update README