added the auto remove of cookie file