added unique ids to input fields