This paper presents a control architecture, which has the potential to monitor the task and safety issues, to provide assessment of the progress and alter the task parameters, and to incorporate patient's feedback in order to make the necessary modifications to impart effective therapy during the execution of the task in an automated manner. Experimental results are presented to demonstrate the efficacy of the proposed control architecture.