bug fixes
Merge pull request #16 from mdrewt/login

bug fixes