fix a bug where edit and delete links show up on pins without users