check for apiUser