add delete and edit link for admins and resource owners to resource index view