add delete and implement delete post method