fixed bug with login button
Merge pull request #30 from wchamilton/loginButtonOnCloseBug

fixed bug with login button