Changed application route, and nav-bar template and component to make logout work.
Still logout is not working.