did some correction on instruction controller as cookie was setting incorrectly