User authentication

Add ability for users to log in and log out. Resolves #10 
I put that in there while debugging and must've forgotten to take it out.