Updated: Info grabbed and send basic auth headers to authorize the request