Added nameTextField handling