Added fetch_data endpoint