added name field to registration