Added necessay preconditions for external AD mode and hid user  template...

... menu entry in that mode
wrong deletions