Added input form and actually save input.