add hasAuth() method