issue with route when clicking on logout