Durandal template with server-side authentication/validation