Improving the cookie provider service