Update the logout and CSRF to display logout message.The problem was th...

...e logout wasn't clean and the CSRF check treated it as an attack and clears the whole session, Closes-Bug: #0005359