Add listener on register event.
Manage display depending on login or not.