Put user/pass in PrivateApp.config (excluded in .gitignore)
cleaned up some obsolete code