surrounded edit & destroy links with if conditiona;