fixed http_requests and added new functionality to the demoApp