fix the bug of login
fix the bug in login