adding name and email fields