added name attribute to input field