make name and email required fields