fixed the way the server conntects in express