wrapper for auth client