Changed the UI so that it will reflect the actual host rather than hard coded localhost