add maxlength to name input field