add alert system to necessary pages