add user register
register function building