User authentication

Add ability for users to log in and log out. Resolves #10 
Huh, I can't believe I didn't think of or see that anywhere. Thanks.