small fixes
Merge pull request #10 from jmdaugherty/login_logic

small fixes