For time being commented deprecated listener, changed cookie creation function (now from days you enter seconds), if deletion of cookie was unsuccessful then cookie value is switched to FAILED