building simple UI with text box and button