Fix sql server scripts
Fixes a little bug in the register system
Adds the default category in the sql installation file