Finishes sign in, sign up. Fixes a few bugs. More testing to follow.