I got the basic login functionality working. I'm going to try to clean it up a little bit.