Removed unused setData code and renamed setData/getData tyo setCookiedata/getCookieData to not confuse it with the generic server side data storage