Modified estab controller for cookie acccess