1) Realization login-logout-redirect