Durandal template with authentication