Add registers and logins

Needed to commit some code that would break some things, so I did it in a branch.  Features are complete now so I'm merging in.