removed loginView from viewModel (wasn't necessary)