fixed minor issue when clicking login button.
Merge pull request #48 from lordnull/login_fix

fixed minor issue when clicking login button.