login happens over ajax now.  doesn't fully work yet but phil needs this code for unique ids