server side code delete