Fix user regist script