error alerts and revised session data updating