pull the accounts api url from config