public IActionResult Login(LoginViewModel lvm)
        {
            if (ModelState.IsValid)
            {
                if (accountRepo.Check(lvm.Gebruikersnaam, lvm.Wachtwoord))
                {
                    HttpContext.Session.SetInt32("AccountID", accountRepo.GetIdByName(lvm.Gebruikersnaam));
                    HttpContext.Session.SetString("Gebruikersnaam", lvm.Gebruikersnaam);
                    return(RedirectToAction("Index", "Home"));
                }
            }

            return(View(lvm));
        }