/* This is where the real fun begins! Authentication is primarily based on the actual WoWEmu account files, and secondly via MySQL. When a user authenticates for the first time it is entirely via WoWEmu account, however it parses the account data into MySQL ( including the lastmod timestamp ). From then on, authentication is based soley via MySQL unless the account file has since been changed. User levels are based on WoWEmu's own scheme while anonymous clients have a NULL userlevel. The recognised levels are as follows, but may be expanded upon in the future: NULL : Anonymous client 0-1 : Player 2-3 : Moderator 4-5 : Game Master 6+ : Server Administrator Authentication may be via POST ( HTML form ), SESSION, and COOKIE ( automatic login ); The latter two using MD5 hashes for increased security. The process of authentication and session checking is initiated by the CORE meaning every script is aware of the true client permissions before execution.*/