make button disappear on click and add route