code to simply load a localhost url