Added checking for correct link in instance_url. If it doesn't end with "/" we will add it to the end of variable.