misconduct investigation legal steps