replaced the cookie management library
store objects as json