Added clear_cookies method