added index.html and socket sending