add predicate
predicate working
correcting deleteconfirm url
refectoring