make loading screen appear when profile is updated