added code to get weather data, and a refresh button for debugging