the input field now clears after submission