setting up server and end point with express
endpoint and connection