Pre Phonegap

manual data structures due to failed cookie set from API.