Iteration 1 code completion

You can now log in, log out, and register for the site.