Fixed a bug edit/delete links show up without users login