Design Flaws

So I fixed all my PHP/MySQL/C# errors for login, and then realized I
can't compare to something that I haven't yet put into the database. I
need to completely rework the HWID system and check if it's a first
logon, then check if it can be updated. Long process inbound.