added function for loading app facility profile from remote db refs item:344