set the context for non-crud calls