public bool userNameExists(string username)
        {
            StaffAccount ac = accounts.Find(i => i.getUsername() == username);

            return(ac == null ? false:true);
        }
 public void AddStaffAccount(StaffAccount a)
 {
     this.accounts.Add(a);
 }