Adding methods to add and remove input fields