public bool IsUsernameExisting(bool isUsernameExisting = false)
        {
            var serialNo = dbContext.GetAccountsUsername(txtUsername.Text);

            foreach (var number in serialNo)
            {
                isUsernameExisting = true;
            }
            return(isUsernameExisting);
        }