Fixing the username check

Also updates the user class so $user->Data() returns false if the key isn't set.