implemented appointment deletion