Added functionality to name label and enterNameTextField