added proxy for rest requests