added basic authentication of requests