fixed connection issue, socket.io connect event was fired before routes were set up, had to make custom connect event