implemented all delete request using ajax