added checking of url using the restler module