CQ5 cq:noDecoration supresses editbar

If you add that property to jcr:root element of a component, edit bar will be suppressed. More on that here: https://forums.adobe.com/thread/1223235?start=0&tstart=0

Cookies not getting deleted?

I was doing everything right but cookie still wasn’t getting delete. It turned out to be the request.forward at the last line servlet that was causing the issue. The forward method was overwriting the headers set in the servlet with the response from forwarded page.