Added chat frontend, and socket.io session validation