added code to handle requests to different urls