added * to required input fields and added required option to form inputs