增加login代码

Signed-off-by: yuanhuan <yuanhuan@tcl.com>