Added logout view and set the appropriate item to appear in the navbar.