adding auth urls and associated templates