legal representation and protected due process rights