Hide region when user logged in
Hi, I have a username and passwod box that I want to hide from view once the user is logged in. They are on every page so it is easy for the user to log in from any page on my site.
Once they are logged in, how do I hide the boxes and the associated form once the user is logged in, but once they log out, or close the browser window, I need the boxes to display again forcing the user to sign in again. Is this something that the Cookies Toolkit can handle?
I have run the DW log in user behaviour which works fine, I just don't know how to show or hide the boxes based on log in status.
Any advice will be appreciated.
Thanks.
Mat