Export readCookie and addCookie