Addding delete functionality - client and server