add handle for fields with null value for correct angular work
change local datastorage to remote