Updated control endpoints of accounts api to take query params instead of headers