added security, proxy and implemented web service changes