Removes edit and delete links for anonymous users, and users that did not create restaurant. Other tests fails as a result