adding socket io connnection