Removes unneeded links at navbar.