fix style from pr/17
Cookie handling