Use route in place of hard coded URL