added destroy function in request