new method and query var check for clearing the app cookie