Support auth
Added support for auth