cleanup of resource dictionaries and LoginView XAML.