handle tap on submitt button