LifeCycle Meethods, must change sync with CookieManager