Added chat functionality through sessions