socket io not working for two files