new template on branch and ajax auth api client improvements