add handle 401 response at purls
update response handling
Merged 'dev'.
Finish webreader