added gif to loading modal
got rid of hard coded host url