Built up client example (vanillajs...). Added extra debug logging for failed authorization. Updated readme