null pointer if no cookies