Added HttpHandler with cookie callback