AuthRepository constructor