Created attachment 81 [details] Registration.png This picture shows us the process of registration of a new account.
Created attachment 82 [details] Login.png This picture shows us the error that a registered account cannot be found in the database and cannot login.
Steps to reproduce; Step 1: Register a new account in the system. (See Fig. Registration.png) Step 2: Log in with that account. (See Fig. Login.png) Actual result: Login unsuccessfully. The account does not exist. Expected result: Login successfully. Show me the MemberControlPanel.
Reason: We use a Database class to store the information of registered members. When the program ends, the Database will be cleared. Therefore, this design does not support users' needs. Solution: We upgraded our design. Instead of using Database class, we maintain two JSON files (MemberInfo.json & AdminInfo.json). These two files will always hold the information, then the data will not lose.