Changed session messages to alerts.