improved login system.

Signed-off-by: wjk <478286460@qq.com>