add support for auth