strip out unused template
update example to be auth method agnostic