Added a cookie management utility