add using NSUserDefaults to persist the user data, plus deleting function