Fixed authentication system

Properly checks for account type and limits accordingly.