Session timeout work out fine. Message now implemented in the class. Minor bugs fixed.