update logout button and route to work across all pages