Login with template.