修改登录逻辑

Signed-off-by: myroid <yangfan@runyeteach.com>