Added chat room functionality with sockets