Aha moment

using a controller (login) with a different model (user). Changing the
default action of the form to login. Realizing that when you include a
JS file, it is automatically included in the final HTML.
Changes to user model

These changes get the user model in order to store a salt and hash, not
the password. Also sets up login through the User model.