typo in db creation script
reg user method