I have a software which I want to make a user login system.
The program on the software will be connected to a local SQL database on the server.
It will have usernames, passwords, remaining hours of usage, e-mail adress, and a license key. It will check the message sent from the client, when a user enters a license key from the client, it will update the remaining hours of usage, when user wants to create a new account (registration), it will add a user to database, when user wants to login it will check the remaining hours and will let the client login to the application. Server side program will be able to disconnect clients, and won't let multi login (client will send HWID)
Client side program will have registration, licence key entry, and login tabs. I have already explained the details in the server side program's description.
I use Embarcadero C++ Builder 10 Seatle, I want the source code in this language. Please carefully explain how you will do this while bidding and show me your understanding.