add save_user function

Signed-off-by: yh <zhangyafeikimi@gmail.com>
fix syntax error

Signed-off-by: yh <zhangyafeikimi@gmail.com>
fix syntax error

Signed-off-by: yh <zhangyafeikimi@gmail.com>