Handle userid internally for api calls, remove need for discoveredby parameter in calls by searching internally to see if table has been discovered