login fix
remove if
Merge pull request #22 from mike781025/loginfix

login fix