filtered out delete links if the user is not logged in