cleaning up and use connect in stead of express