Login functionality

added login functionality, but be sure to type everything exactly
right, did not do error handling.