Add loading gif and load editor only after auth