fetching the data based on the application url