public ActionResult Login(string email, string password)
        {
            var repo = new UserTaskRepository(Properties.Settings.Default.Constr);
            var user = repo.Login(email, password);

            if (user == null)
            {
                return(RedirectToAction("login"));
            }
            FormsAuthentication.SetAuthCookie(email, true);
            return(Redirect("/home/Index"));
        }