You need to use $this->query_username, $this->query_password, etc. in the login_check() method.
That's assuming you're passing a valid value when you create the object in first place, too.
-- This message may have been cut off and the rest will only be shown to members. To become a member, click here --