Human-Cognition-In-The-Loop: A Framework To Include Decision Process In Closed Loop Control