Add main page and socketio