added an extra route (/latest) and making a call to that to fetch latest data after the connection is established