# CakeDC Users plugin: how do I add flash message?

**URL:** <https://discourse.cakephp.org/t/cakedc-users-plugin-how-do-i-add-flash-message/6439>\
**Category:** Plugins\
**Created:** [July 30, 2019, 11:26am UTC](https://discourse.cakephp.org/t/cakedc-users-plugin-how-do-i-add-flash-message/6439 "2019-07-30T11:26:32Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![elbert](https://avatars.discourse-cdn.com/v4/letter/e/35a633/32.png) [@elbert](https://discourse.cakephp.org/u/elbert)\
**Post date:** [July 30, 2019, 11:26am UTC](https://discourse.cakephp.org/t/cakedc-users-plugin-how-do-i-add-flash-message/6439/1 "2019-07-30T11:26:32Z")

</div>

Hi,  
I am using the (superbe) Users&Auth plugin from CakeDC: [GitHub - CakeDC/users: Users Plugin for CakePHP](https://github.com/CakeDC/users)  
I seem to have everything working fine, but can not figure out how/where to add a flash message:

After login in the _ **regular** _ way (with name & password) I get a flash message saying

> you’ve successfully logged in

(which is built in in the plugin). But when I _ **log in with a social account** _ (Google, Twiter, Facebook, etc) I do not get any message. I find this a bit unclear for my users, so I would like to add a flash message after a successfull social log in:

> you’ve successfully logged in with your social account

but I can not figure out where/how?  
Could anyone give me a push in the right direction? THX!

Have a great day,  
Elbert
