added authenticated JSON to popups
added error report to authenticated JSON