added error alerts to more pages