Added input length restriction to name field