server interaction, json to model, id checking, nsuserdefaults