Got basic login system working.

I need to fix the way it responds to wrong user/password, and I need it
to bring up the homepage with logged-in features.