Use user, group, and confi_dir variables in templates