The structure where there are options to register, login and the system checks the previously registered user information and transfers you to a different class if you are already registered. If the user enters the Admin password, the user can access the user's mail and usernames via the console.
Open to any improvement...