Dev: fix Invalid argument supplied for foreach()  when log in survey admin
Dev: fix if LS is not updatable.
Dev: double test : ig json is NULL