Update for using basic_auth