Also changed registration contact table keyfield for e-mail. Deleted commented out debug stuff