1. add delete function  2. delete function conntects to the db and it has jqeury aninimation effect