added required in input fields