added maxlenght on the html input fields