add load & save userinfo functions
correct the mistakes in save & load userinfo func
complete function:generate_poly