solved error on method deleteCookie

The name isn’t correct and the cookies will never get deleted