added more functionality to the input data page