alerts added. session bug fixed