added basic authentication to requests