public JsonResult Login(string email, string password)
 {
     if (UserClass.ValidateUserLogin(email, password))
     {
         var user = UserClass.FindUserByEmail(email);
         Session["Email"]    = email;
         Session["Password"] = password;
         Session["UserId"]   = UserClass.FindUserByEmail(email).Id;
         //User user = UserClass.FindUserByEmail(email);
         //string json = JsonConvert.SerializeObject(user, Formatting.Indented, new JsonSerializerSettings
         //{
         //  ReferenceLoopHandling = ReferenceLoopHandling.Ignore
         //});
         return(Json(new { user.Email, user.Password, user.Id }, JsonRequestBehavior.AllowGet)); //Session["Email"].ToString() + Session["UserId"];
     }
     return(Json(new { status = false }));
 }