This is the piece of code I am using to delete a user from the database. I understand that delete() is supposed to remove the document. But instead, it removes
delete()