User account management and displaying greeting

One problem remains - occatinally  clicking “Sign out” does not change
the page on the first click.
The user is successfully signed out but the page is still rendered with
his username until reload.