taking out the hard coded localhost