Update isAuthorized to match declaration