added flashcard delete controller