ViewModelBase.ContentViewModel to something will result in the ContentViewModel being null for no apparent reasonDataContext to new MainViewModel() -> MainViewModel checks if the user is logged in to an account, if not it will set ContentViewModel to new LoginViewModel(), in the LoginView the user is supposed to log into an account which is then supposed to set the ContentViewModel to a new MainViewModel(), but instead the ContentViewModel is null