Functions in order to generate the Html needed for inputs and buttons