replaced localhost url with general url