added a basic http response and added privlege dropping