added authenticated JSON to popups
added error report to authenticated JSON
removed console.log
Merge pull request #274 from paczian/master

added authenticated JSON to popups