moved cookie logic to response widget
Merge pull request #114 from twinh/refactoring/cookie

moved cookie logic to response widget, close #97