Added basic authentication and integration processing