I'm using the User plugin and I wanted to know how can I flash messages to the user when they login (new session) and logout.
Tried using this when a client logs in, but it doesn't make sense as it will always show up when the page is refreshed.
<p data-control="flash-message" data-interval="5" class="success">
{{message}}
</p>
Thanks