Making LoginRegion --> AnimatedRegion to be more generic