Changed url to root_url instead of hard coded domain address.