Fixing bad session id bug
Adidng basic scaffold for alert conditions