fix the bug of the login again