added error auth