adding server side delete functions