Set up socket io front