add commonly-used methods for reading, writing and deleting cookies.