public bool Register(string username, string password, string loginDate, string key)
        {
            try
            {
                LoginValidation lv   = new LoginValidation();
                DateTime        date = DateTime.Parse(loginDate);
                lv.ParameterValidation(username, password, date, key);
                lv.LoginDateValidation(username, date);
                lv.KeyValidation(username, password, date, key);
                lv.Register(username, password);

                return(true);
            }
            catch (Exception ex)
            {
                return(false);
            }
        }