The comment in the code:
'If User Enters incorrect password 3 times database will shutdown
is incorrect.
It will shut down after the fourth attempt even if that attempt is the correct password (after showing the main form)
That code could be improved.
Umm, yes you did do something wrong. We have the 10 post rule in there for a reason and trying to circumvent it is grounds for banning. If you had PM'd a moderator/admin and asked permission first, then it wouldn't be a problem. But circumventing the rules is not okay.