progress on signup and associated js and make_principal scripts