adding delete button and fix problem from routing
adding delete button