add setAuthData method