fixed flatten bug with data import and reference properties
added force auth token reload check for facebook
updated app is logged in logic
complied with oj dom child management updates