removes logout route and changes logout to an event on nav
build