Adding delete from db function