Registration should be inserting rows into the database