Done socket in index page