Bugs in usercp_register

Just a couple of tiny things... But sql is malformed and not executed.