Add error alert system to homepage