Update register.sql

fixed pw bug