make sure cookies work