fixed some login issues
Merge pull request #17 from kevinbuch/login_errors

fixed some login issues