When a user opens the login page, they must enter credentials such as email, username, or mobile number along with a password. The system then compares this information with stored records. If everything matches correctly, the user is allowed to enter their account.