You do make some good point, but your forgetting one very important detail. Kendra has barely started to date Cisco, so hardly even knows the guy nor has she earned the right to know Barry's secret. She is a practical stranger for all intents and purposes and he just blurts out Barry is the Flash. Circumstances forced the issue of Barry's ID revealed to Kendra sooner than it should have been.
Then there is the fact that Barry, unmasked, zoomed in and sat on a chair in front of someone who did not know who he was in Flash's first crossover episode, which was absolutely stupid of him to do so.
And then Felicity blurts out his name right in front of Malcolm Merlyn, a villain, who had no right to know nor did he earn that right because he didn't.
Then Barry reveals his identity to his childhood bully just to rub it in his face, which was (at the time) a STUPID decision (but thankfully the Colossus rip-off died later).
I wouldn't be complaining so much if Barry would simply STOP taking his mask off or his identity being revealed in front of "strangers" or villains or people he barely knows ALL the time. So yes, if this keeps up, he will need a massive mind wipe just keep his identity hidden.
The funny thing is that enough of his face is exposed so that he can convey emotions with the mask on, he really doesn't need to show his face to emote....unless his talent isn't up to it.
Also there is the EGO factor.....