remove flask principal