Added the template custom authentication models