Add controller to authentication template