Added cookie example code
Now using a direct html layout renderer