can't have duplicate javascript login functions
minor improvements to registration system.  not working yet.