Add default template for authenticate hook