function names changed to add-cookie and clear-cookies