Added url checking with restler