read from cookie every time init is called since cookie name might change