add messages, session classes