user key press event listeners enter in endpoint field and uri field