added debug helper to gather debug credentials. added logging to web app