fix an error with wrongly initialized values for fields name and email during database creation